package com.lb.activity.mapper;

import com.lb.activity.vo.UserDept;
import com.lb.activity.vo.UserDeptExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDeptMapper {
    int countByExample(UserDeptExample example);

    int deleteByExample(UserDeptExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserDept record);

    int insertSelective(UserDept record);

    List<UserDept> selectByExample(UserDeptExample example);

    UserDept selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserDept record, @Param("example") UserDeptExample example);

    int updateByExample(@Param("record") UserDept record, @Param("example") UserDeptExample example);

    int updateByPrimaryKeySelective(UserDept record);

    int updateByPrimaryKey(UserDept record);
}